package org.study.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.study.user.dao.UserDao;
import org.study.user.model.User;
import org.study.user.service.LoginService;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    UserDao userdao;
    @Override
    public boolean login(User user) {
        return userdao.findUser(user);
    }
}
